package com.example.houtai.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.houtai.entity.TbBusiness;
import com.example.houtai.mapper.TbBusinessMapper;
import com.example.houtai.service.ITbBusinessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商户表 服务实现类
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-22
 */
@Service
public class TbBusinessServiceImpl extends ServiceImpl<TbBusinessMapper, TbBusiness> implements ITbBusinessService {

    @Autowired
    private TbBusinessMapper businessMapper;

    @Override
    public Page<TbBusiness> list(Page<TbBusiness> page) {

        return businessMapper.list(page);
    }
}
